package ch.netcetera.planningpoker.server.model;

import com.googlecode.objectify.Key;


public class Vote extends DatastoreObject {

    private CardValueEnum cardValue;

    private Key<Participant> voter;

    private Key<Round> round;

    public Vote() {

    }

    public Vote(CardValueEnum cardValue) {
        this.cardValue = cardValue;
    }

    public CardValueEnum getCardValue() {
        return cardValue;
    }

    public void setCardValue(CardValueEnum cardValue) {
        this.cardValue = cardValue;
    }

    public Key<Participant> getVoter() {
        return voter;
    }

    public void setVoter(Key<Participant> voter) {
        this.voter = voter;
    }

    public Key<Round> getRound() {
        return round;
    }

    public void setRound(Key<Round> round) {
        this.round = round;
    }

}
